﻿@{
    SiteSecurity.RequireAuthenticatedUser();

    int requestId = UrlData[0].AsInt();// Request.Form["Id"].AsInt();

    bool isDeleted = SiteHelper.DeleteQuestionById(requestId);

    Response.Redirect("~/Admin/ViewQuestion/" + isDeleted);
}